package chapter6;

/**
 * 在外部类之外访问外部类的内部类
 */
class Out {
    class In {
        public In(String msg) {
            System.out.println(msg);
        }
    }
}

public class CreateInnerInstance {
    public static void main(String[] args) {
        Out.In in = new Out().new In("测试信息");
    }
}
